home *** CD-ROM | disk | FTP | other *** search
-
-
-
- RRRRWWWWHHHHaaaasssshhhhTTTTaaaabbbblllleeeeIIIItttteeeerrrraaaattttoooorrrr((((3333CCCC++++++++)))) RRRRWWWWHHHHaaaasssshhhhTTTTaaaabbbblllleeeeIIIItttteeeerrrraaaattttoooorrrr((((3333CCCC++++++++))))
-
-
-
- NNNNaaaammmmeeee
- RWHashTableIterator - Rogue Wave library class
-
- SSSSyyyynnnnooooppppssssiiiissss
- #include <rw/hashtab.h>
-
-
-
- RWHashTable h;
- RWHashTableIterator it(h);
-
-
-
-
- DDDDeeeessssccccrrrriiiippppttttiiiioooonnnn
- Iterator for class RRRRWWWWHHHHaaaasssshhhhTTTTaaaabbbblllleeee, which allows sequential access to all the
- elements of RRRRWWWWHHHHaaaasssshhhhTTTTaaaabbbblllleeee. Note that because an RRRRWWWWHHHHaaaasssshhhhTTTTaaaabbbblllleeee is unordered,
- elements are not accessed in any particular order. As with all Rogue Wave
- iterators, the "current item" is undefined immediately after construction
- -- you must define it by using ooooppppeeeerrrraaaattttoooorrrr(((()))) or some other (valid)
- operation. Once the iterator has advanced beyond the end of the
- collection it is no longer valid -- continuing to use it will bring
- undefined results.
-
- PPPPeeeerrrrssssiiiisssstttteeeennnncccceeee
- None
-
- PPPPuuuubbbblllliiiicccc CCCCoooonnnnssssttttrrrruuuuccccttttoooorrrr
- RRRRWWWWHHHHaaaasssshhhhTTTTaaaabbbblllleeeeIIIItttteeeerrrraaaattttoooorrrr(RWHashTable&);
-
-
- Construct an iterator for an RRRRWWWWHHHHaaaasssshhhhTTTTaaaabbbblllleeee. After construction, the
- position of the iterator is undefined.
-
- PPPPuuuubbbblllliiiicccc MMMMeeeemmmmbbbbeeeerrrr OOOOppppeeeerrrraaaattttoooorrrr
- virtual RWCollectable*
- ooooppppeeeerrrraaaattttoooorrrr(((())))();
-
-
- Redefined from class RRRRWWWWIIIItttteeeerrrraaaattttoooorrrr. Advances the iterator to the next item
- and returns it. Returns nnnniiiillll when the end of the collection is reached.
-
- PPPPuuuubbbblllliiiicccc MMMMeeeemmmmbbbbeeeerrrr FFFFuuuunnnnccccttttiiiioooonnnnssss
- virtual RWCollectable*
- ffffiiiinnnnddddNNNNeeeexxxxtttt(const RWCollectable* target);
-
-
- Redefined from class RRRRWWWWIIIItttteeeerrrraaaattttoooorrrr. Moves iterator to the next item which
- iiiissssEEEEqqqquuuuaaaallll ttttoooo the item pointed to by ttttaaaarrrrggggeeeetttt and returns it.
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- RRRRWWWWHHHHaaaasssshhhhTTTTaaaabbbblllleeeeIIIItttteeeerrrraaaattttoooorrrr((((3333CCCC++++++++)))) RRRRWWWWHHHHaaaasssshhhhTTTTaaaabbbblllleeeeIIIItttteeeerrrraaaattttoooorrrr((((3333CCCC++++++++))))
-
-
-
- virtual RWCollectable*
- kkkkeeeeyyyy() const;
-
-
- Redefined from class RRRRWWWWIIIItttteeeerrrraaaattttoooorrrr. Returns the item at the current
- iterator position.
-
- RWCollectable*
- rrrreeeemmmmoooovvvveeee();
-
-
- Remove the item at the current iterator position from the collection.
-
- RWCollectable*
- rrrreeeemmmmoooovvvveeeeNNNNeeeexxxxtttt(const RWCollectable*);
-
-
- Moves the iterator to the next item which iiiissssEEEEqqqquuuuaaaallll to the item pointed to
- by ttttaaaarrrrggggeeeetttt, removes it from the collection and returns it. If no item is
- found, returns nnnniiiillll and the position of the iterator will be undefined.
-
- virtual void
- rrrreeeesssseeeetttt();
-
-
- Redefined from class RRRRWWWWIIIItttteeeerrrraaaattttoooorrrr. Resets the iterator to its starting
- state.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-